package com.wyl.rpc.provider;

import com.wyl.rpc.consumer.HelloService;
import com.wyl.rpc.consumer.User;

/**
 * @author: wyl
 * @date: 2021/8/17
 * @des:
 */
public class HelloServiceImpl implements HelloService {

    @Override
    public String hello(String name) {
        return "hello! " + name;
    }

    @Override
    public String hello(User user) {
        return "hello! " + user.getName();
    }

}